﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace kmaraszkiewicz.Models
{
    public class Project
    {
        public int ProjectId { get; set; }
        [Required]
        public string Title { get; set; }
        [Required]
        [AllowHtml]
        public string Description { get; set; }
        public List<Photo> Photos { get; set; }
        public DateTime Created { get; set; }
    }
}